import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

export function login(data) {
    return request({
        url: getUrl("admin/auth/login"),
        method: 'post',
        data
    })
}

export function showVideoUser(data) {
    return request({
        url: getUrl("admin/user/showVideoUser"),
        method: 'post',
        data
    })
}
export function getInUserList(data) {
    return request({
        url: getUrl("admin/user/getInUserList"),
        method: 'post',
        data
    })
}


export function getCommanderList(data) {
    return request({
        url: getUrl("admin/user/getCommanderList"),
        method: 'post',
        data
    })
}




